package lcy.homework03.first;

/**
 * @ClassName: MovieDVD
 * @Description: 电影DVD类 MovieDVD
 * @author: 李春洋
 * @date: 2024/4/18 16:04
 * @Blog: https://
 */
public class MovieDVD extends Item {
    private String director;

    public MovieDVD(String title, String director) {
        super(title);
        this.director = director;
    }

    @Override
    public void displayInfo() {
        System.out.println("Movie DVD: " + title + " directed by " + director);
    }
}
